<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css" />
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css" />
		
	</head>

	<body>
		<div class="am-g">
			{include file='../Common/hy_header.html'}
			<style>
				.yf-form {
					float: left !important;
				}
			</style>
			<div class="am-u-md-8 am-u-end">
				<form class="am-form am-form-horizontal hy-js-form">
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">字符</label>
						<div class="am-u-sm-6 yf-form">
							<select name="type">
								<option value="0">全部</option>
								<option value="1">数字</option>
								<option value="2">小写字母</option>
								<option value="3">大写字母</option>
								<option value="4">数字+小写字母</option>
								<option value="5">数字+大写字母</option>
								<option value="6">字母</option>
							</select>
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">字符数量</label>
						<div class="am-u-sm-6 yf-form">
							<input type="text" name="type_num" value="" placeholder="为空则随机,否则请写成“数字(0),小写(0),大写(0)”">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">长度</label>
						<div class="am-u-sm-6 yf-form">
							<input type="text" name="num" value="10">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">规则</label>
						<div class="am-u-sm-6 yf-form">
							<input type="text" name="patterm" value="" placeholder="为空则默认字符全连在一起,否则格式“5-5”或者“4,3,3”">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">数量</label>
						<div class="am-u-sm-6 yf-form">
							<input type="text" name="count" value="10">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-intro" class="am-u-sm-3 am-form-label">状态</label>
						<div class="am-u-sm-6 yf-form">
							<div class="am-btn-group" data-am-button="">
								<label class="am-btn am-btn-default am-btn-xs {if $info.status eq '' || $info.status eq 0}am-active{/if}">
									<input type="radio" name="status" value="0" {if $info.status eq '' || $info.status eq 0}checked="checked"{/if} id="option1"> 清空生成
								</label>
								<label class="am-btn am-btn-default am-btn-xs {if $info.status eq 1}am-active{/if}">
									<input type="radio" name="status" value="1" {if $info.status eq 1}checked="checked"{/if} id="option2"> 继续生成
								</label>
							</div>
						</div>
					</div>
					<div class="am-form-group">
						<div class="am-u-sm-6 am-u-sm-push-3">
							<button type="button" class="am-btn am-btn-primary hy-js-submit">生成</button>
							<button data-id="random_list" data-href="index.php?g=admin&m=other&a=dao_random" type="button" class="am-btn am-btn-primary hy-js-href"> 导出</button>
						</div>
					</div>
				</form>
			</div>
		</div>
		{include file='../Common/hy_footer.html'}
		<script type="text/javascript">
			hy_submit('index.php?g=admin&m=other&a=random');
		</script>
	</body>

</html>